<script setup>
import {onMounted, ref} from "vue";

let props = defineProps({
  params: {
    type: Object
  },
});

let container = ref(null);

onMounted(() => {
  console.log(props.params)
  if (props.params.params.el&&Object.keys(props.params.params.el).length) {
    container.value.appendChild(props.params.params.el)
  }
})

</script>

<template>
  <div style="height: 100%" ref="container">
  </div>
</template>

<style scoped lang="less">

</style>